import request from '@/utils/request'

export function getWithdraw(data) {
  return request({
    url: '/api/Withdraw/GetList',
    method: 'post',
    data: data
  })
}

export function saveWithdraw(data) {
  return request({
    url: '/api/Withdraw/Save',
    method: 'post',
    data: data
  })
}

export function getWithdrawDetail(data) {
  return request({
    url: '/api/Withdraw/GetById',
    method: 'post',
    data: data
  })
}

export function verifyBankCard(data) {
  return request({
    url: '/api/Withdraw/VerifyBankCard',
    method: 'post',
    data: data
  })
}

export function GetApplyList(data) {
  return request({
    url: '/api/Withdraw/GetApplyList',
    method: 'post',
    data: data
  })
}

export function ChangeStateSave(data) {
  return request({
    url: '/api/Withdraw/ChangeState',
    method: 'post',
    data: data
  })
}